home *** CD-ROM | disk | FTP | other *** search
/ The Essential Home & Business Collection / The Essential Home & Business Collection.iso / 27 / 3 / 5 / HP22D5.ZIP / EXTERN / INFOAUX.ASM < prev    next >
Assembly Source File  |  1991-04-16  |  977b  |  75 lines

  1. DOSSEG
  2. .MODEL        LARGE
  3.  
  4. .DATA
  5.  
  6. .CODE    INFO_TEXT
  7.         assume        cs:INFO_TEXT
  8.  
  9.         public        Get52Ptr
  10. Get52Ptr    proc        near
  11.         mov        ah,52h
  12.         int        21h
  13.         mov        dx,es
  14.         mov        ax,bx
  15.         ret
  16. Get52Ptr    endp
  17.  
  18.         public        emmptr
  19. emmptr        proc        near
  20.         mov        ax,3567h
  21.         int        21h
  22.         mov        dx,es
  23.         mov        ax,10
  24.         ret
  25. emmptr        endp
  26.  
  27.         public        emmfree
  28. emmfree        proc        near
  29.         mov        ah,42h
  30.         int        67h
  31.         mov        ax,bx
  32.         mov        bx,4000
  33.         mul        bx
  34.         ret
  35. emmfree        endp
  36.  
  37.         public        emmtotal
  38. emmtotal    proc        near
  39.         mov        ah,42h
  40.         int        67h
  41.         mov        ax,dx
  42.         mov        bx,4000
  43.         mul        bx
  44.         ret
  45. emmtotal    endp
  46.  
  47.         public        emmversion
  48. emmversion    proc        near
  49.         mov        ah,46h
  50.         int        67h
  51.         xor        ah,ah
  52.         ret
  53. emmversion    endp
  54.  
  55.         public        getmemsize
  56. getmemsize    proc        near
  57.         int        12h
  58.         ret
  59. getmemsize    endp
  60.  
  61.         public        getextmemsize
  62. getextmemsize    proc        near
  63.         mov        ah,88h
  64.         int        15h
  65.         ret
  66. getextmemsize    endp
  67.  
  68.         public        getequipment
  69. getequipment    proc        near
  70.         int        11h
  71.         ret
  72. getequipment    endp
  73.  
  74. END
  75.